<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
    <title>函数标签</title>
</head>
<body>
<c:if test="${fn:contains(resultSet, 'admin')}">
    您拥有“Admin”角色信息；<br>
</c:if>
字符串拆分：<c:forEach items="${fn:split(resultMap.ip, '.')}" var="item">${item}、</c:forEach><br>
转大写字母：${fn:toUpperCase(resultMap.msg)}<br>
<c:if test="${fn:startsWith(resultMap.msg, '##')}">
    字符串以“##”开头<br>
</c:if>
数据转义：${fn:escapeXml(resultMap.html)}
</body>
</html>
